#ifndef FILENOTFOUNDEXCEPTION_H
#define FILENOTFOUNDEXCEPTION_H

#include <iostream>
#include <string>
#include <sstream>

#include "CustomException.h"

using namespace std;

class FileNotFoundException : public CustomException {

private:

        string fileName;

public:

        FileNotFoundException ( string input ) { fileName = input;}
        inline string getFileName() { return fileName; }
        inline string getMessage() {
                
                stringstream errorMessage;
                errorMessage<<"File Cannot be open : "<<fileName;
                return errorMessage.str();
        
        }

};
#endif